package org.JQbitorrentClinet.request.sync;

import lombok.Builder;
import org.JQbitorrentClinet.base.BaseGetUrlEncodedParam;
import org.JQbitorrentClinet.pojo.sync.SyncMainData;

@Builder
public class GetMainDataParam extends BaseGetUrlEncodedParam {
    Integer rid;

    public GetMainDataParam(Integer rid) {
        this.rid = rid;
        responseType = SyncMainData.class;
    }

    @Override
    public String getApiUrl() {
        return "/api/v2/sync/maindata";
    }
}
